home *** CD-ROM | disk | FTP | other *** search
/ Aminet 22 / Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso / Aminet / dev / src / ConfigFileSrc.lha / ConfigFileSrc12 / RexxLibrary / Funcs / Remove.c < prev    next >
Encoding:
Text File  |  1997-10-02  |  2.2 KB  |  101 lines

  1. /*
  2. **        $PROJECT: RexxConfigFile.library
  3. **        $FILE: Remove.c
  4. **        $DESCRIPTION: rxcf_Remove#?() functions
  5. **
  6. **        (C) Copyright 1997 Marcel Karas
  7. **             All Rights Reserved.
  8. */
  9.  
  10. IMPORT struct Library    *CFBase;
  11.  
  12. /****** rexxconfigfile.library/cf_RemoveArgument *****************************
  13. *
  14. *   NAME
  15. *        cf_RemoveArgument -- Remove an argument node.
  16. *
  17. *   SYNOPSIS
  18. *        cf_RemoveArgument(ArgNode)
  19. *
  20. *        cf_RemoveArgument(ARGNODE/N/A)
  21. *
  22. *   FUNCTION
  23. *        This function remove an argument node. Note don't adds the removed
  24. *        ArgNode to another open CF file.
  25. *
  26. *   INPUTS
  27. *        ArgNode - The argument node to remove.
  28. *
  29. *   SEE ALSO
  30. *        cf_RemoveGroup(), cf_RemoveItem()
  31. *
  32. ******************************************************************************
  33. *
  34. */
  35.  
  36. UWORD rxcf_RemoveArgument ( RX_FUNC_ARGS, CFArgument * ArgNode )
  37. {
  38.     cf_RemoveArgument (ArgNode);
  39.     return (RC_OK);
  40. }
  41.  
  42. /****** rexxconfigfile.library/cf_RemoveGroup ********************************
  43. *
  44. *   NAME
  45. *        cf_RemoveGroup -- Remove a group node.
  46. *
  47. *   SYNOPSIS
  48. *        cf_RemoveGroup(GrpNode)
  49. *
  50. *        cf_RemoveGroup(GRPNODE/N/A)
  51. *
  52. *   FUNCTION
  53. *        This function remove a group node. Note don't adds the removed 
  54. *        GrpNode to another open CF file.
  55. *
  56. *   INPUTS
  57. *        GrpNode - The group node to remove.
  58. *
  59. *   SEE ALSO
  60. *        cf_RemoveArgument(), cf_RemoveItem()
  61. *
  62. ******************************************************************************
  63. *
  64. */
  65.  
  66. UWORD rxcf_RemoveGroup ( RX_FUNC_ARGS, CFGroup * GrpNode )
  67. {
  68.     cf_RemoveGroup (GrpNode);
  69.     return (RC_OK);
  70. }
  71.  
  72. /****** rexxconfigfile.library/cf_RemoveItem *********************************
  73. *
  74. *   NAME
  75. *        cf_RemoveItem -- Remove an item node.
  76. *
  77. *   SYNOPSIS
  78. *        cf_RemoveItem(ItemNode)
  79. *
  80. *        cf_RemoveItem(ITEMNODE/N/A)
  81. *
  82. *   FUNCTION
  83. *        This function remove an item node. Note don't adds the removed 
  84. *        ItemNode to another open CF file.
  85. *
  86. *   INPUTS
  87. *        ItemNode - The item node to remove.
  88. *
  89. *   SEE ALSO
  90. *        cf_RemoveGroup(), cf_RemoveArgument()
  91. *
  92. ******************************************************************************
  93. *
  94. */
  95.  
  96. UWORD rxcf_RemoveItem ( RX_FUNC_ARGS, CFItem * ItemNode )
  97. {
  98.     cf_RemoveItem (ItemNode);
  99.     return (RC_OK);
  100. }
  101.